import request from '@/utils/request'

// 获取日流量趋势数据
export function getDailyTraffic() {
  return request({
    url: '/dashboard/website/traffic/daily',
    method: 'get'
  })
}

// 获取月访问量数据
export function getMonthlyTraffic() {
  return request({
    url: '/dashboard/website/traffic/monthly',
    method: 'get'
  })
} 